
package com.swak.frame.extension.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.stereotype.Component;

import com.swak.frame.dto.base.BizScenario;

/**
 * Extension
 */
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE })
@Component
public @interface Extension {
	//业务编码
	String bizId() default BizScenario.DEFAULT_BIZ_ID;

	//case
	String useCase() default BizScenario.DEFAULT_USE_CASE;

	//场景
	String scenario() default BizScenario.DEFAULT_SCENARIO;
	
	//描述
	String desc() default "";
}
